package com.xbb.service;

import java.util.List;

import com.xbb.entity.ReadRoom;
import com.xbb.entity.dto.ReadRoomDto;

public interface ReadRoomService {

	/**
	 *获取所有资源（阅览室）信息
	 * @param readRoomDto
	 * @return
	 */
	public List<ReadRoomDto> getReads(ReadRoomDto readRoomDto);
	
	/**
	 * 添加资源（阅览室）信息
	 * @param readRoom
	 * @return
	 */
	public boolean addRead(ReadRoom readRoom);
	
	/**
	 * 修改资源（阅览室）信息
	 * @param readRoom
	 * @return
	 */
	public boolean updateRead(ReadRoom readRoom);
	
	/**
	 * 删除资源（阅览室）信息
	 * @param rid
	 * @return
	 */
	public boolean delRead(int rid);
}
